class HomeController < ApplicationController
  def index
    if current_user.can_list_all_app_his?
      @apps = App.all
    else
      @apps = App.all.where("product_line=?",current_user.product_line)
  end
  end
end
